package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.CutomerDrain;
import cn.wolfcode.crm.query.FailPlanListQueryObject;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface CutomerDrainMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CutomerDrain record);

    CutomerDrain selectByPrimaryKey(Long id);

    List<CutomerDrain> selectAll();

    int updateByPrimaryKey(CutomerDrain record);

    List<CutomerDrain> list(QueryObject qo);

    int query4Count(FailPlanListQueryObject qo);

    List<CutomerDrain> query4List(FailPlanListQueryObject qo);
}